package com.lagou.handler;

import com.lagou.service.UserServiceImpl;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Component
public class RpcCommandLineRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        UserServiceImpl.startServer("127.0.0.1",8990);
    }

}
